﻿using System.Collections.Generic;
using System.Xml.Serialization;
using Yun.Response;

namespace Yun.Site.Response
{
    [XmlRoot("get_video_play_auth_response")]
    public class GetVideoPlayAuthResponse : YunResponse
    {
        /// <summary>
        /// 视频播放凭证
        /// </summary>
        [XmlElement("video_play_auth")]
        public VideoPlayAuth VideoPlayAuth { get; set; }

        /// <summary>
        /// APPKEY
        /// </summary>
        [XmlElement("app_key")]
        public string AppKey { get; set; }

        /// <summary>
        /// app_secret
        /// </summary>
        [XmlElement("app_secret")]
        public string AppSecret { get; set; }


        /// <summary>
        /// APIKEY
        /// </summary>
        [XmlArrayItem("api_key")]
        [XmlArray("api_keys")]
        public List<VodApiKey> ApiKeys { get; set; }
    }
}
